﻿@using NewLife;
@using XCode;
@using XCode.Configuration;
@{
    var entity = Model as IEntity;
    var fields = ViewBag.Fields as FieldCollection;
}
@foreach (var item in fields)
{
    if (!item.PrimaryKey)
    {
        @await Html.PartialAsync("_Form_Group", new ValueTuple<IEntity, DataField>(entity, item))
    }
}
@await Html.PartialAsync("_Form_Footer", entity)
@await Html.PartialAsync("_Form_Action", entity)
